addDataResultToIntent

open fun addDataResultToIntent(@NonNull remoteInput: @NonNull RemoteInput, @NonNull intent: @NonNull Intent, @NonNull results: @NonNull Map<String, Uri>)(source)

Same as addResultsToIntent but for setting data results.

Parameters

remoteInput

The remote input for which results are being provided

intent

The intent to add remote input results to. The ClipData field of the intent will be modified to contain the results.

results

A map of mime type to the Uri result for that mime type.